Left and right length of paths in binary trees or on a question of Knuth
نویسنده
چکیده
We consider extended binary trees and study the common right and left depth of leaf j, where the leaves are labelled from left to right by 0, 1, . . . , n, and the common right and left external pathlength of binary trees of size n. Under the random tree model, i.e., the Catalan model, we characterize the common limiting distribution of the suitably scaled left depth and the difference between the right and the left depth of leaf j in a random size-n binary tree when j ∼ ρn with 0 < ρ < 1, as well as the common limiting distribution of the suitably scaled left external pathlength and the difference between the right and the left external pathlength of a random size-n binary tree.
منابع مشابه
Binary Trees, Left and Right Paths, WKB Expansions, and Painleve Transcendents
During the 10th Seminar on Analysis of Algorithms, MSRI, Berkeley, June 2004, Knuth posed the problem of analyzing the left and the right path length in a random binary trees. In particular, Knuth asked about properties of the generating function of the joint distribution of the left and the right path lengths. In this paper, we mostly focus on the asymptotic properties of the distribution of t...
متن کاملA Best Possible Bound for the Weighted Path Length of Binary Search Trees
The weighted path length of optimum binary search trees is bounded above by Y'./3i + 2 a. + H where H is the entropy of the frequency distribution, /3i is the total weight of the internal nodes, and aj is the total weight of the leaves. This bound is best possible. A linear time algorithm for constructing nearly optimal trees is described. One of the popular methods for retrieving information b...
متن کاملEffect of tree decline and slope aspect on the leaf morphological traits of Persian oak trees
This study was accomplished with the aim of investigating the effects of tree decline and slope aspect on leaf morphological traits and determining the indicator morphological traits that indicate the leaf diversity of Persian oak trees in relation to habitat conditions and environmental stresses in Mellah Siah forests of Ilam. Two forest habitats were selected on the northern and southern slop...
متن کاملBinary Trees, Geometric Lie Algebras, and Operads
Let T be a binary tree. We put a total ordering on its nodes as follows. If p1 and p2 are two distinct nodes of T , then there are two unique paths γ1 and γ2 from the root r of T . We say p1 < p2 if p1 is an ancestor of p2, or if when γ1 and γ2 first diverge at a node qi, γ1 goes right and γ2 goes left. This total ordering is called the preorder on T . It induces a total ordering of the leaves ...
متن کاملRecursion Depth Analysis for Specail Tree Traversal Algorithms
In this paper we are concerned with the analysis of special recursive algorithms for traversing the nodes of a planted plane tree (ordered tree ; planar tree) . Some by now classical results in this area are due to KNUTH [7], DE BRUIJN, KNUTH and RICE [1], FLAJOLET [2], FLAJOLET and ODLYZKO [3], FLAJOLET, RAOULT and VUILLEMIN [4], KEMP [6] and others and are summarized in the next few lines : T...
متن کامل